projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a789dfb
)
(rmail-summary-get-sender): Narrow to current
author
Henrik Enberg
<henrik.enberg@telia.com>
Sat, 21 Jan 2006 16:27:59 +0000
(16:27 +0000)
committer
Henrik Enberg
<henrik.enberg@telia.com>
Sat, 21 Jan 2006 16:27:59 +0000
(16:27 +0000)
message before extracting headers.
lisp/mail/rmailsum.el
patch
|
blob
|
history
diff --git
a/lisp/mail/rmailsum.el
b/lisp/mail/rmailsum.el
index bd174be82e5ee5f089b5c8d6b983fdf52108a9a1..f066523e5068248faf2a2beaebf5e58ced8b10cc 100644
(file)
--- a/
lisp/mail/rmailsum.el
+++ b/
lisp/mail/rmailsum.el
@@
-1495,8
+1495,11
@@
If sender matches `rmail-user-mail-address-regexp' or
"\\>\\)"))
sender))
;; Either no sender known, or it's this user.
- (let ((to (rmail-header-get-header "to")))
- (concat "to: " (mail-strip-quoted-names to)))
+ (save-restriction
+ (narrow-to-region (rmail-desc-get-start n)
+ (rmail-desc-get-end n))
+ (concat "to: " (mail-strip-quoted-names
+ (rmail-header-get-header "to"))))
sender)))
(defun rmail-summary-get-line-count (n)